package com.icebartech.core.enums;

/**
 * @author xiaoxiong
 * @date 2018/5/10
 */
public enum BaseEnum {
    /**
     * 是
     */
    Yes("y", "是"),
    /**
     * 否
     */
    No("n", "否");
    
    private String key;
    private String value;
    
    private BaseEnum(String key, String value) {
        this.key = key;
        this.value = value;
    }
    
    public String getKey() {
        return key;
    }
    
    public String getValue() {
        return value;
    }
}
